@echo off
setlocal

set PROJPATH=%~dp0
set CYGWIN=%CYGWIN% nodosfilewarning

rem Failed builds leave around some cruft that confuses the ndk-build script.
rem Remove that cruft now.
del /s obj\*.o.d

rem Run the build script in cygwin.
c:\cygwin\bin\bash --login %PROJPATH%\build

@echo on